﻿using IntelligentAgriculture.Contracts.Dto.Input;
using IntelligentAgriculture.Contracts.Dto.Output;
using IntelligentAgriculture.Domain.Entity;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace IntelligentAgriculture.Contracts.Interface
{
    /// <summary>
    /// 称重服务接口
    /// </summary>
    public interface IBreedingWeighService
    {

        /// <summary>
        /// 称重列表
        /// </summary>
        /// <param name="input"></param>
        /// <returns></returns>
        Task<PageOutput<BreedingWeighOutPut>> DepartMnetList(BreedingWeighInPut input);

        /// <summary>
        /// 删除称重
        /// </summary>
        /// <param name="breedingID"></param>
        /// <returns></returns>
        Task<int> Delete(int breedingID);

        /// <summary>
        /// 添加称重
        /// </summary>
        /// <param name="breedingweigh"></param>
        /// <returns></returns>
        Task<int> Add(Breedingweigh breedingweigh);
        /// <summary>
        /// 修改称重
        /// </summary>
        /// <param name="breedingweigh"></param>
        /// <returns></returns>
        Task<int> Update(Breedingweigh breedingweigh);



    }







}
